package com.ruoyi.system.mapper.report;

import com.ruoyi.common.core.domain.entity.TempleLib;
import com.ruoyi.system.domain.report.vo.*;
import com.ruoyi.system.domain.vo.ReTabPtdetailTailPatientVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface TeacherMapper {

    List<ReTabPtdetailTailPatientVo> getPydetailList(TabPtdetailTailPatientVO tabPtdetailTailPatientVO);


    List<String> GetEquipments();

    List<String> getDropDownCheckName();

    List<StatusVo> getDropDownState();

    SurveyVo getSurvey(String ptdeId);

    PtDetailBgReadyVo getBgReadyTxt(String ptdeId);

    PtCheckOpinionVo ptdtCheckyjTxt(String patientId);

    PtDetailCheckSeeTxtVo ptdtCheckSjTxt(String patientId);

    PtPatientVo getPatient(String ptdeId);

    void updatePatient(PtPatientVo ptPatientVo);

    void updatePtdetail(PtPatientVo ptPatientVo);

    List<HistoryVo> getHistory(@Param(value = "patientId") String patientId,@Param(value = "ptdeId")String ptdeId);

    List<StudiesSeriesVo> getStudiesSeries(String checkCode);

    List<TempleLib> getTempleTree(Long userId);

    HistoryVo getPatientReportInfo(String ptdeId);

    int totalCount( TabPtdetailTailPatientVO tabPtdetailTailPatientVO);

    TemplateInfo getTemplateInfo(@Param(value = "id") String id,@Param(value = "parentId") String parentId);

    List<ClassLIstVo> getClassList(String userName);

    List<ClassStudentListResVo> getClassStudentList(@Param(value = "classZ")String classZ);

    //void getPatientInfo(String ptdeId);

    void addReport(@Param(value ="lists")List<ClassStudentListVo> lists,@Param(value ="teacherUserName")String teacherUserName);

    List<StudentReportListPageResVo> getStudentReportListPage(@Param(value = "userName") String userName,@Param(value = "studentReportReqVo")StudentReportReqVo studentReportReqVo);

    void addCommentScore(CommentScoreReqVo commentScoreReqVo);

    void updateCommentScore(@Param(value = "commentScoreReqVo")CommentScoreReqVo commentScoreReqVo);

    List<String> getCompleteStatus();

    CommentReportResVo getReportComment(String reportId);

    void updateReport(@Param(value = "commentScoreReqVo")CommentScoreReqVo commentScoreReqVo, @Param(value = "status") String status);

    List<DICOMSeriesImgVo> getStudyInsta(@Param(value = "studyInsta") String studyInsta);

  List<String> getDropDownCheckMachine();

  List<String> getDropDownXxj();


  List<HistoryVo2> getHistoryByCheckCode(@Param(value = "ptdtCheckCode") String ptdtCheckCode);

  List<HistoryVo2> getHistoryByPtName(@Param(value = "ptName") String ptName);

  PtPatienVo2 getPatientPro(String ptdeId);

  List<String> getDropDownModelName();

  List<String> getDropDownPtdtModelName();

  void updateMyTemplate(TemplateUpdata template);

  void addMyTemplate(TemplateUpdata template);

  void delMyTemplate(TemplateUpdata template);
  void delMyChildrenTemplate(TempleLib templeLib);
  List<String> GetBranch();

  List<TabPtdetailTailPatientVO> GetBgDoctor(String ptName);

  List<String> getDoctorDropDown();

  void changePtInfo(TabPtdetailTailPatientVO tabPtdetailTailPatientVO);
}

